package com.zzl.finance.data.dto;

import com.zzl.apidoc.annotation.ApidocModel;
import com.zzl.apidoc.annotation.ApidocModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 金融产品
 *
 * @author wztsl
 * @date 2021-12-22 19:40:27
 */
@Data
@ApidocModel
public class EnterpriseFinancialProductUpdateDto implements Serializable {
    private static final long serialVersionUID = 1L;
    @ApidocModelProperty(description = "主键")
    private Integer id;
    @NotNull(message = "企业id不能为空")
    @ApidocModelProperty(description = "企业id")
    private String enterpriseId;
    @ApidocModelProperty(description = "服务费")
    private Double platServiceRate;
    @NotNull(message = "金融产品id不能为空")
    @ApidocModelProperty(description = "金融产品id")
    private Integer financialProductId;
}
